<h2>Create an Event</h2>
<?php
$max_year = date('Y') + 2;
echo $form->create('Event');
echo $form->input('name');
$form_item = $form->input('eventdate');
$form_item_rep = str_replace('-', '&nbsp;&nbsp;', $form_item);
echo $form_item_rep;
echo $form->input('Family.Family',array('type'=>'select'));
echo $form->input('family_id', array('type' => 'hidden'));
echo $form->end('Create an Event');
?>
